package com.myboot.demo.enums;

import lombok.Getter;

/**
 * @Author: 韦溜溜
 * @Description:
 * @Date: Create in 17:30 2018/11/27
 */
@Getter
public enum ProductStatusEnum implements CodeEnum {

    UP(0,"在架"),
    DOWN(1,"下架")
    ;

    private Integer code;

    private String message;

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
